package com.peenongsaban.freelance.action;

import com.opensymphony.xwork2.ActionSupport;
import com.peenongsaban.freelance.model.ServiceDetailModel;
import com.peenongsaban.freelance.service.ServiceDetailService;

public class ServiceDetailAction extends ActionSupport {
	
	private static final long serialVersionUID = 1L;
	
	ServiceDetailModel model = new ServiceDetailModel();

	public ServiceDetailModel getModel() {
		return model;
	}

	public void setModel(ServiceDetailModel model) {
		this.model = model;
	}
	
	public String showServiceDetailPage(){	
		ServiceDetailService service = new ServiceDetailService();	
		this.model = service.getServiceDetail(model);
		
		
		return SUCCESS;		
	}
}
